package entity;

public class Oder_Item {
	private Integer id;
	private Integer userId;
	private Integer oderId;
	private Integer productId;
	private String productName;
	private String productPic;
	private Double productPrice;
	private Integer quantity;
	private String targetDate;
	private Double productTotalprice;
	private String createTime;
	private String updateTime;
	
	public Oder_Item() {
		
	}
	
	
	
	public Oder_Item(Integer userId, Integer oderId, Integer productId, String productName, String productPic,
			Double productPrice, Integer quantity, String targetDate, Double productTotalprice, String createTime,
			String updateTime) {
		super();
		this.userId = userId;
		this.oderId = oderId;
		this.productId = productId;
		this.productName = productName;
		this.productPic = productPic;
		this.productPrice = productPrice;
		this.quantity = quantity;
		this.targetDate = targetDate;
		this.productTotalprice = productTotalprice;
		this.createTime = createTime;
		this.updateTime = updateTime;
	}



	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public Integer getOderId() {
		return oderId;
	}
	public void setOderId(Integer oderId) {
		this.oderId = oderId;
	}
	public Integer getProductId() {
		return productId;
	}
	public void setProductId(Integer productId) {
		this.productId = productId;
	}
	public String getProductName() {
		return productName;
	}
	public void setProductName(String productName) {
		this.productName = productName;
	}
	public String getProductPic() {
		return productPic;
	}
	public void setProductPic(String productPic) {
		this.productPic = productPic;
	}
	public Double getProductPrice() {
		return productPrice;
	}
	public void setProductPrice(Double productPrice) {
		this.productPrice = productPrice;
	}
	public Integer getQuantity() {
		return quantity;
	}
	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}
	public String getTargetDate() {
		return targetDate;
	}
	public void setTargetDate(String targetDate) {
		this.targetDate = targetDate;
	}
	public Double getProductTotalprice() {
		return productTotalprice;
	}
	public void setProductTotalprice(Double productTotalprice) {
		this.productTotalprice = productTotalprice;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}



	@Override
	public String toString() {
		return "Oder_Item [id=" + id + ", userId=" + userId + ", oderId=" + oderId + ", productId=" + productId
				+ ", productName=" + productName + ", productPic=" + productPic + ", productPrice=" + productPrice
				+ ", quantity=" + quantity + ", targetDate=" + targetDate + ", productTotalprice=" + productTotalprice
				+ ", createTime=" + createTime + ", updateTime=" + updateTime + "]";
	}
	
	

}
